package com.pomr.service.simstorage;

import java.util.List;

import com.pomr.model.equipmentstorage.EquipmentInStorage;
import com.pomr.model.simstorage.SimInStorage;
import com.pomr.util.page.Page;

public interface SimInStorageService {
	
	/**
	 * 入库
	 * @param storage
	 * @return
	 * @throws Exception
	 */
	public boolean inStorage(SimInStorage storage) throws Exception;
	
	/**
	 * 查询入库记录
	 * @param networkid
	 * @param agencyid
	 * @param manufacturerid
	 * @param time1
	 * @param time2
	 * @param page
	 * @param limit
	 * @return
	 * @throws Exception
	 */
	public Page<List<SimInStorage>> searchSimInStorages(String networkid,String agencyid,String manufacturerid,
			String time1,String time2,String page,String limit) throws Exception;
	
	/**
	 * 通过id查询入库记录详细信息
	 * @param instor
	 * @return
	 * @throws Exception
	 */
	public SimInStorage searchSimInStorageById(SimInStorage instor) throws Exception;
	
	/**
	 * 通过id删除入库记录
	 * @param instor
	 * @return
	 * @throws Exception
	 */
	public boolean deleteSimInStorageById(String[] ids,String del) throws Exception;
	
	/**
	 * 通过id审核入库记录
	 * @param ids
	 * @return
	 * @throws Exception
	 */
	public boolean reviewSimInStorageById(String[] ids) throws Exception;

}
